package com.kingtsoft.study.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class StudyHomeworkDetail extends StudyHomeworkDetailModel implements Serializable{

    /**
	 * @fieldName: serialVersionUID
	 * @fieldType: long
	 * @Description: TODO
	 */
	private static final long serialVersionUID = 1L;

	/**
     * 主键
     */
    private String id;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createDate;

    /**
     * 修改时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updateDate;

    /**
     * 创建人
     */
    private String userId;
    /**
     * 提交状态：0：未提交（草稿状态）、1：已提交
     */
    private String commitStatus;
    /**
     * 备注
     */
    private String remark;
    /**
     * 文件名称
     */
    private String filename;
    /**
     * 文件大小
     */
    private BigDecimal fileSize;
    /**
     * 文件后缀
     */
    private String suffix;
    /**
     * 文件地址
     */
    private String path;
    /**
     * 学生主键
     */
    private String studentId;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 老师布置的作业主键
     */
    private String homeworkId;

    public StudyHomeworkDetail(String id, Date createDate, Date updateDate, String userId, String commitStatus
            , String remark, String filename, BigDecimal fileSize, String suffix, String path, String studentId
            , String title, String content, String homeworkId) {
        this.id = id;
        this.createDate = createDate;
        this.updateDate = updateDate;
        this.userId = userId;
        this.commitStatus = commitStatus;
        this.remark = remark;
        this.filename = filename;
        this.fileSize = fileSize;
        this.suffix = suffix;
        this.path = path;
        this.studentId = studentId;
        this.title = title;
        this.content = content;
        this.homeworkId = homeworkId;
    }

    public StudyHomeworkDetail() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCommitStatus() {
        return commitStatus;
    }

    public void setCommitStatus(String commitStatus) {
        this.commitStatus = commitStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public BigDecimal getFileSize() {
        return fileSize;
    }

    public void setFileSize(BigDecimal fileSize) {
        this.fileSize = fileSize;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getHomeworkId() {
        return homeworkId;
    }

    public void setHomeworkId(String homeworkId) {
        this.homeworkId = homeworkId;
    }
}
